//
//  Project_ElectCheckSumModel.h
//  he_Lan
//
//  Created by xyyl on 2021/6/22.
//  Copyright © 2021 xyyl. All rights reserved.
//

#import "UIKit/UIKit.h"

NS_ASSUME_NONNULL_BEGIN
///该model 所有字符串都是16进制
@interface Project_ElectCheckSumModel : NSObject

///前导码
@property (nonatomic,strong) NSString * head;
///帧长度
@property (nonatomic,strong) NSString * lenth;
///功能吗
@property (nonatomic,strong) NSString * cmd;
///通道号
@property (nonatomic,strong) NSString * channel;
///数据
@property (nonatomic,strong) NSArray * data;
///校验(CMD + Channel + Data）&0x FF
@property (nonatomic,strong) NSString * checkSum;
///帧尾
@property (nonatomic,strong) NSString * end;

///提交蓝牙口令。（16进制）
@property (nonatomic,strong) NSString * finnalStr;

- (BOOL)caculaterFinalStr;

@end

NS_ASSUME_NONNULL_END
